// 对Storage 的封装

export function setAuthent(key: string, val: any) {
  window.sessionStorage.setItem(key, val);
}
export function getAuthent(key: string) {
  return window.sessionStorage.getItem(key);
}
export function removeAuthent(key: string) {
  return window.sessionStorage.removeItem(key);
}
export function clearAuthent() {
  window.localStorage.clear();
  return window.sessionStorage.clear();
}
